height,weight=eval(input("请输入身高(m)和体重\(kg)[逗号隔开]："))
bmi = weight / pow(height,2)
print("BMI数值为：{:.2f}".format(bmi))
who=""
if bmi < 18.5:
    who = "过轻"
elif bmi < 25:
    who = "正常"
elif bmi < 28:
    who = "偏胖"
elif bmi < 32:
    who = "肥胖"
else:
    who = "严重肥胖"
print("BMI指标为:{0}".format(who))